// 指向二维数组元素的指针
#include <stdio.h>

int main(int argc, char **argv)
{
    int *p = NULL;
    int arr[3][4] = {1,2,3,4,5,6,7,8,9,10,11,12};
    int i = 0;

    for (i = 0; i < 12; i++)
    {
        p = arr[0] + i;
        printf("%d ", *p);
    }
    printf("\n");

    for (i = 0; i < 12; i++)
    {
        p = arr[0] + i;
        printf("%p\n", p);
    }
    
    return 0;
}